package com.jxc.biz.impl;

import com.jxc.biz.PurchaselistBiz;
import com.jxc.dao.PurchaseDao;
import com.jxc.dao.PurchaselistDao;
import com.jxc.entity.Purchaselist;
import com.jxc.util.PageBean;

public class PurchaselistBizImpl implements PurchaselistBiz {
	private PurchaselistDao dao;

	public void insertPurchaseList(Purchaselist purchaselist) {
		this.dao.insertPurchaseList(purchaselist);
	}

	public PageBean getPuchaselistList(PageBean pb, String hql) {
		return this.dao.getPuchaselistList(pb, hql);
	}
	public void deletePurchaseList(Purchaselist purchaselist) {
		
		dao.deletePurchaseList(purchaselist);
	}

	public Purchaselist getpurchaselist(Purchaselist purchaselist) {
		return dao.getpurchaselist(purchaselist);
	}

	public void updatePurchaseList(Purchaselist purchaselist) {
		dao.updatePurchaseList(purchaselist);
	}
	public PurchaselistDao getDao() {
		return dao;
	}
	public void setDao(PurchaselistDao dao) {
		this.dao = dao;
	}
}
